<?php

namespace plugin\ycMassage\app\model;


class MassageTravel extends Model
{
    public static function onAfterRead($model)
    {
        $model->start_distance = (int)$model->start_distance;
        $model->start_price = (float)$model->start_price;
        $model->mileage_price = (float)$model->mileage_price;
        $model->virtually_mileage = (int)$model->virtually_mileage;
        $model->commuting = (int)$model->commuting;
    }
}
